package cn.fxyz.service;

import java.util.List;

import cn.fxyz.entity.Food;
import cn.fxyz.page.PageBean;

public interface FoodService {

	Food findById(Food food);

	PageBean<Food> findAll(Food food, int pageNum, int pageSize,Integer typeid);
	
	
	//后台功能
	//查询
	public List<Food> getFood(String id,String foodname,String foodtype);
	//增删改
	public void addFood(Food food);
	
	public List<Food> findAll();
	
	public boolean deleteFood(String id);
	
	public Food getFood(String id);
	
	public void modifyFood(Food food);


}
